package com.yhsoft.buyer.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum PaymentStatus {
    UNPAID(5,"支付中"),
    PAID(6,"支付失败"),
    NOTPAY(8,"未支付"),
    CLOSED(7,"支付已关闭"),
    REVOKED(9,"已撤销")
    ;
    //REFUND(-1,"已退款");

    @EnumValue
    private Integer code ;
    private String comment ;

    PaymentStatus(Integer code, String comment) {
        this.code = code;
        this.comment = comment;
    }

}
